/**
 * 掉电告警设置
 */
import request from '@/utils/axios'

/**
 * 获取掉电告警
 * @returns {*}
 */
export function reqGetPowerAlarm() {
    return request.get('/system/getpoweralarm')
}

/**
 * 设置掉电告警
 * @returns {*}
 */
export function reqSetPowerAlarm(data) {
    return request.post('/system/setpoweralarm',data)
}